package com.cm.entity.lic.element;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("动态参数元素数据实体")
public class ParamsElementEntity extends Element{

    @NotNull( message = "动态内容不能为空")
    @ApiModelProperty("动态内容")
    private String paramsFontBody ;

    @NotNull( message = "动态大小不能为空")
    @ApiModelProperty("动态大小")
    private Double paramsFontSize ;

    @NotNull( message = "字体不能为空")
    @ApiModelProperty("字体")
    private String paramsFont;
}
